package com.example.demo01.controller;

import com.example.demo01.base.web.BaseController;
import com.example.demo01.entity.User;
import com.example.demo01.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@Controller
@RequestMapping("user")
public class UserController extends BaseController<UserService,User> {

    @Autowired
    UserService userService;

    @Override
    public String getPerfix() {
        return "/user";
    }
//测试上传信息
}
